package com.example.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

@Service
public class StorageService {
    @Autowired
    private JdbcTemplate jdbcTemplate;
    
    public void storage() {
        jdbcTemplate.execute(" INSERT INTO storage (goods_id, num) VALUES (110, 98) ");
    }
}
